package de.bht.cge.flightsim.game;

import de.bht.jvr.core.GroupNode;
import de.bht.jvr.math.Vector3;

public abstract class Base extends GroupNode
{
	private GroupNode node;
	private float scale;
	private Vector3 position;
	
	
	
	public Base()
	{
		this(-1.0f,null);
	}
	
	public Base(float scale,String name)
	{
		this(scale,null,name);
	}
	
	public Base (float scale, Vector3 position,String name)
	{
		this.position = position;
		this.scale = scale;	
		this.setName(name);
	}
	
	public void Build() throws Exception
	{
		this.setNode(new GroupNode(this.getName()));
	}

	public GroupNode getNode()
	{
		return node;
	}

	public void setNode(GroupNode node)
	{
		this.node = node;
	}

	public float getScale()
	{
		return scale;
	}

	public void setScale(float scale)
	{
		this.scale = scale;
	}

	public Vector3 getPosition()
	{
		return position;
	}

	public void setPosition(Vector3 position)
	{
		this.position = position;
	}

	
	
	
}
